let attr = 'my-home'
let obj  = {
    name:'zhufeng',
    'my-name':'zhufeng',
    ['my-age']:18,
    [attr]:'bj'
}
console.log(obj)

//obj my-age 18

/* obj['my-age'] = 18;



obj[attr]='bj'

console.log(obj) */